package com.freeman.cement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.freeman.cement.entity.HandleRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CjdbDao extends BaseMapper<HandleRecord> {
    int addHandleRecord(HandleRecord record);

    //    List<String> selectEventId(@Param("status") int status, @Param("user_code") String user_code);
    List<HandleRecord> selectHandleRecord(@Param("status") int status, @Param("user_code") String user_code);

    HandleRecord findHandleRecord(@Param("eventId") String eventId, @Param("status") Integer status);

    List<HandleRecord> findEventProcessRecords(@Param("eventId") String eventId);
}
